<div id="container">

    <hgroup id="login-title" class="large-margin-bottom">
        <h1 class="login-title-image">Developr</h1>

    </hgroup>

    <!--<form method="post" action="#" id="form-login">-->
    <?php echo $this->Form->create('User', array('default' => false, 'id' => 'form-login'));?>
        <ul class="inputs black-input large">
            <!-- The autocomplete="off" attributes is the only way to prevent webkit browsers from filling the inputs with yellow -->
            <li>
                <span class="icon-user mid-margin-right"></span>
                <?php echo $this->Form->input('username', array( 'div' => false, 'label' => false ,'id'=>'login' ,'class' => 'input-unstyled', 'placeholder'=>'Username', 'autocomplete'=>'off')); ?>
                <!--<input type="text" name="login" id="login" value="" class="input-unstyled" placeholder="Username" autocomplete="off">-->
            </li>
            <li>
                <span class="icon-lock mid-margin-right"></span>
                <?php echo $this->Form->input('password', array('type'=>'password', 'div' => false, 'label' => false, 'id'=>'pass' ,'class' => 'input-unstyled', 'placeholder'=>'Password', 'autocomplete'=>'off')); ?>
                <!--<input type="password" name="pass" id="pass" value="" class="input-unstyled" placeholder="Password" autocomplete="off">-->
            </li>
        </ul>

        <button type="button" id="login-btn" class="button orange-gradient glossy full-width huge">Login</button>
    <h5 style="text-align: center">&copy; 2013 JA Plant Pool Ghana Ltd.</h5>
    <?php echo $this->Form->end();?>
    <!--</form>-->

</div>

<!-- URL -->
<input type="hidden" id="login-url" value="<?php echo $this->Html->url(array('controller' => 'Users', 'action' => 'login')); ?>" />
<input type="hidden" id="after-login-url" value="<?php echo $this->Html->url(array('controller' => 'Dashboard', 'action' => 'index')); ?>" />

<?php

    echo $this->Html->script('setup.js');

    /** Template functions **/
    echo $this->Html->script('developr.input.js');
    echo $this->Html->script('developr.message.js');
    echo $this->Html->script('developr.notify.js');
    echo $this->Html->script('developr.tooltip.js');
    echo $this->Html->script('custom-scripts/login.js');
?>

